package distanciaedicion;
public abstract class Operacion {
	private Integer costo;
	
	private  Integer distancia = 0;

	private Integer sentidoVertical;
	private Integer sentidoHorizontal;
	private char caracterFuente = ' ';
	private char caracterDestino= ' ';
	public Operacion(Integer costo) {
		this.costo = costo;
	}
	
	public Integer getDistancia() {
		return distancia;
	}
	
	public void setDistancia(Integer distancia) {
		this.distancia = distancia;
	}
	
	public Integer getCosto() {
		return costo;
	}
	
	public abstract void execute();

	public void setCosto(Integer costo) {
		this.costo = costo;
		
	}

	public Integer getSentidoVertical() {
		
		return sentidoVertical;
	}
	public void setSentidoVertical(Integer sentidoVertical) {
		this.sentidoVertical = sentidoVertical;
	}
	public Integer getSentidoHorizontal() {
		return sentidoHorizontal;
	}

	public void setSentidoHorizontal(Integer sentidoHorizontal) {
		this.sentidoHorizontal = sentidoHorizontal;
	}

	public char getCaracterFuente() {
		return caracterFuente;
	}

	public void setCaracterFuente(char caracterFuente) {
		this.caracterFuente = caracterFuente;
	}

	public char getCaracterDestino() {
		return caracterDestino;
	}

	public void setCaracterDestino(char caracterDestino) {
		this.caracterDestino = caracterDestino;
	}
	
	
}
